package com.wss.day06.time;

import java.time.LocalDate;
import java.util.Arrays;
import java.util.Objects;

/**
 * @author wangshaoshuai
 * @desc TODO
 * @date 2025/4/26
 */
public class Student {

        private String name;
        private String num;
        private LocalDate birthday;

        public Student() {
        }

        public Student(String name, String num, LocalDate birthday) {
            this.name = name;
            this.num = num;
            this.birthday = birthday;
        }

        /**
         * 获取
         * @return name
         */
        public String getName() {
            return name;
        }

        /**
         * 设置
         * @param name
         */
        public void setName(String name) {
            this.name = name;
        }

        /**
         * 获取
         * @return num
         */
        public String getNum() {
            return num;
        }

        /**
         * 设置
         * @param num
         */
        public void setNum(String num) {
            this.num = num;
        }

        /**
         * 获取
         * @return birthday
         */
        public LocalDate getBirthday() {
            return birthday;
        }

        /**
         * 设置
         * @param birthday
         */
        public void setBirthday(LocalDate birthday) {
            this.birthday = birthday;
        }

        public String toString() {
            return "Student{name = " + name + ", num = " + num + ", birthday = " + birthday + "}";
        }
    }

